<%= simple_form_for [sufia, @form], html: { multipart: true } do |f| %>
  <% content_for :files_tab do %>
    <p class="switch-upload-type">To create a single work for all the files, go to <%= link_to "New Work", [:new, Sufia.primary_work_type.model_name.singular_route_key] %></p>
        <p class="instructions"><%= t("sufia.batch_uploads.files.instructions") %></p>
  <% end %>
  <%= render 'curation_concerns/base/guts4form', f: f, tabs: %w[files metadata relationships share] do %>
  <% end %>
<% end %>

<script type="text/javascript">
  Blacklight.onLoad(function() {
    $("#fileupload").fileupload('option', 'downloadTemplateId', 'batch-template-download')
  });
</script>
